﻿using System.IO.Ports;

// ReSharper disable CheckNamespace
namespace Eric.SerialPorts
// ReSharper restore CheckNamespace
{
    /// <summary>
    /// Interface of System.IO.Ports.SerialPort object's parameters.
    /// </summary>
    public interface ISerialPortParameter
    {
        string PortName { get; }
        int BaudRate { get; }
        Parity Parity { get; }
        int DataBits { get; }
        StopBits StopBits { get; }
        int ReadTimeOut { get; }
        int WriteTimeOut { get; }
    }
}
